<template>
  <div :class="$style.appPage">
    <el-card>
      <div slot="header" :class="$style.pageTitle">分时段调价记录</div>
      <!-- <el-divider></el-divider> -->
      <AdjustHeader @query="onHeaderQuery" @reset="onHeaderReset" />
    </el-card>

    <el-card>
      <AdjustTable
        v-bind="list"
        @pageSizeChange="onTablePageSizeChange"
        @pageNumChange="onTablePageNumChange"
        @taskRecord="onTableRowRecord"
        @taskCancel="onTableRowTaskCancel"
      />
    </el-card>

    <ExecuteModal
      v-bind="executeModalProps"
      @query="onExecuteModalQuery"
      @reset="onExecuteModalReset"
      @pageSizeChange="onExecuteModalPageSizeChange"
      @pageNumChange="onExecuteModalPageNumChange"
      @close="onExecuteModalClose"
      @ok="onExecuteModalClose"
      @open="onExecuteModalOpen"
      @downErrorFile="onExecuteModalDownErrorFile"
    />
  </div>
</template>

<style lang="scss" module>
@import './index.module.scss';
</style>

<script>
import Index from './index';
export default Index;
</script>
